package com.example.video.common.util;

/**
 * <p>
 * 请求响应标识，描述枚举
 * <p/>
 *
 * @author : yj
 */
public enum ResponsEnum {

    SUCCESS(200,"success"),
    UNAUTHORIZED(401,"未认证"),
    FORBIDDEN(403,"无权访问"),
    ERROR(500,"error");

    public Integer code;

    public String msg;

    ResponsEnum(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }
}
